package com.vdong.interactive.course.web.controller;

import com.vdong.interactive.course.common.supper.SupperController;
import com.vdong.interactive.course.facade.PeddleGoodsFacadeService;
import io.swagger.annotations.*;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @description:
 * @author: Mr.WangGang
 * @create: 2018-11-14 上午 11:42
 **/
@Api(description = "测试",tags = "测试服务")
@RestController
public class Test extends SupperController {

    //@Resource
    //private TestService testService;

    @Resource
    private PeddleGoodsFacadeService peddleGoodsService;
//    @ApiOperation(value = "测试" ,  notes="测试")
//    @ApiImplicitParams({
//            @ApiImplicitParam(paramType = "header", dataType = "String", name = "serviceCode", value = "需要访问的服务CODE", required = true) ,
//            @ApiImplicitParam(paramType = "header", dataType = "String", name = "accessToken", value = "访问方申请的令牌", required = false)
//    })
//    @ApiResponses(value = {
//            @ApiResponse(code = 200, message = "成功",response = LambResponseTemplete.class)
//    })
//    @RequestMapping(value= ApiContract.I000000001,method = RequestMethod.POST,consumes= MediaType.APPLICATION_JSON_VALUE)
//    public Mono<LambResponseTemplete> validate(@RequestBody @Valid @NotNull Object param){
//        //identityVerificationService.validate(param);
//        //return returning(TestVO.class,testService.test());
//        return returning();
//    }

//    @ApiOperation(value = "测试" ,  notes="测试")
//    @ApiResponses(value = {
//            @ApiResponse(code = 200, message = "成功",response = LambResponseTemplete.class)
//    })
//    @RequestMapping(value= ApiContract.I000000001,method = RequestMethod.POST)
//    public Mono<LambResponseTemplete> validate(){
//        //identityVerificationService.validate(param);
//        //return returning(TestVO.class,testService.test());
////        peddleGoodsService.getPeddleArticleApplyList();
//        return returning();
//    }
}
